package com.hopes.bizz.risk.integral.dto;

import com.hopes.boss.common.entity.BaseLogicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/7/26 9:27
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "个人积分记录DTO")
public class RiskIntegralRecordDTO extends BaseLogicEntity {

    private static final long serialVersionUID = 5615326221504748639L;

    private Long bizId;

    private Long accountId;

    private Integer eventName;

    private Integer integral;

    private Date eventTime;

    private Date statisticalDate;

    private Long orgId;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
